package com.example.kalapp;

public class Food {
	
	
	int _id;
	String _name;
	String _type;
	Double _kalorier;
	Double _fedt;
	Double _protein;
	
	
	public Food(){
		
	}
	
	public Food(int id, String name, String _type, Double _kalorier, Double _fedt, Double _protein){
		this._id = id;
		this._name = name;
		this._type = _type;
		this._kalorier = _kalorier;
		this._fedt = _fedt;
		this._protein = _protein;
	}
	
	
	public Food(String name, String _type, Double _kalorier, Double _fedt, Double _protein){
		this._name = name;
		this._type = _type;
		this._kalorier = _kalorier;
		this._fedt = _fedt;
		this._protein = _protein;
	}
	
	public int getID(){
		return this._id;
	}
	public void setID(int id){
		this._id = id;
	}
	
	public String getName(){
		return this._name;
	}
	public void setName(String name){
		this._name = name;
	}
	
	public String getType(){
		return this._type;
	}
	public void setType(String type){
		this._type = type;
	}
	
	public Double getKalorier(){
		return this._kalorier;
	}
	public void setKalorier(Double kalorier){
		this._kalorier = kalorier;
	}
	
	public Double getFedt(){
		return this._fedt;
	}
	public void setFedt(Double fedt){
		this._fedt = fedt;
	}
	
	public Double getProtein(){
		return this._protein;
	}
	public void setProtein(Double protein){
		this._protein = protein;
	}
}
